package com.dongdongshop.Enum;

import java.io.Serializable;

public enum ResultEnum implements Serializable {
    MAN(111,"男"),WOMEN(222,"女"),UNKNOW(333,"未知"),SUCCESS(200,"操作成功"),ERROR(500,"操作失败"),UNAUTHORIZED(401,"密码错误"),NOTLOGGIN(777,"用户不存在,或未审核！"),AUDITSUCCESS(888,"审核已通过"),AUDITERROR(999,"审核已驳回"),AUDITPEND(101010,"等待审核"),CLOSES(111111,"关闭商家成功"),AUDITERRORS(76,"未通过审核，无法登录"),SENDASUCCESS(32,"验证码发送成功"),LOGENINFO(501,"请登录"),ERRORS(230,"商品已售馨"),FAIL(210,"已经购买"),fail(211,"订单失败");
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
